package com.youi.entity;

import java.util.Date;

import com.youi.common.DelStatus;

import java.io.Serializable;


/**
 * 团长信息
 * @author XJY
 */
public class Groupleader implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private Long userId;					    //用户id
	private String name;					    //姓名
	private String avatarUrl;					//头像
	private Integer isInformation;				//提现信息状态(0未提交 1已完成)
	
	
	private Leaderstore leaderstore;			//团长绑定门店信息

    public Groupleader(){

    }

    public Groupleader(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }
    
    public Groupleader(Long userId,String name,String avatarUrl) {
        this.gmtCreated=new Date();
        this.delStatus=DelStatus.NODEL;
        this.gmtModify=gmtCreated;
        this.userId=userId;
        this.name=name;
        this.avatarUrl=avatarUrl;
     }
    


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setUserId(Long userId){
		this.userId=userId;
	}

	public Long getUserId(){
		return userId;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getName(){
		return name;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}
	
	public Leaderstore getLeaderstore() {
		return leaderstore;
	}

	public void setLeaderstore(Leaderstore leaderstore) {
		this.leaderstore = leaderstore;
	}

	public Integer getIsInformation() {
		return isInformation;
	}

	public void setIsInformation(Integer isInformation) {
		this.isInformation = isInformation;
	}

}
